/**
 * 1. 如果登录账号是超管
 * 对自己不能更改身份 对别人可以
 * 2. 不是超管不能操作身份数据
*/
let isDisabled = (id: string, userData: objectType<any>) => {
  let loginId = userData.userId
  let limit = userData.userAccountLimit
  console.log(id,'a', userData.userId, 'b', userData.userAccountLimit)
  return !(id !== loginId && limit ===2)
}

export {
  isDisabled
}